using System;
using System.Runtime.Serialization;
using Hammock.Model;
using Newtonsoft.Json;

namespace Weibo4Sharp.Model
{
#if !SILVERLIGHT
    [Serializable]
#endif
#if !Smartphone && !NET20
    [DataContract]
#endif
    [JsonObject(MemberSerialization.OptIn)]
    public class WeiboTrend : PropertyChangedBase, IWeiboModel
    {
#if !Smartphone && !NET20
        [DataMember]
#endif
        public virtual long Num { get; set; }

#if !Smartphone && !NET20
        [DataMember]
#endif
        [JsonProperty("hotword")]
        public virtual string HotWord { get; set; }


#if !Smartphone && !NET20
        [DataMember]
#endif
        public virtual string Name { get; set; }

#if !Smartphone && !NET20
        [DataMember]
#endif        
        public virtual string Query { get; set; }


#if !Smartphone && !NET20
        [DataMember]
#endif
        [JsonProperty("trend_id")]
        public virtual long TrendId { get; set; }

#if !Smartphone && !NET20
        [DataMember]
#endif
        public virtual string Events { get; set; }

        public virtual string RawSource { get; set; }
    }
}